package com.runrunfast.fxj.enums;

import lombok.Getter;

/**
 * @author: 陈胤训
 * @create: 2018-08-08 16:28
 **/
@Getter
public enum ResultEnum {
    SUCCESS(0, "成功"),
    FAILURE(1, "失败");


    private Integer code;

    private String message;

    ResultEnum(Integer code, String message) {
        this.code = code;
        this.message = message;
    }
}
